/*
 * Copyright (c) 2023 Huawei Device Co., Ltd.
 * Licensed under the Apache License,Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// 歌曲，对比真实获取到的数据仅列举有用属性
export class SongUrlModel {
    id: number
    url: string
    br: number
    size: number
    md5: string
    code: number
    expi: number
    type: string
    gain: number
    peak: number
    fee: number
    uf: object
    payed: number
    flag: number
    canExtend: boolean
    freeTrialInfo: {
        start: number
        end: number
    }
    level: string
    encodeType: string
    freeTrialPrivilege: {
        resConsumable: boolean
        userConsumable: boolean
        listenType: object
        cannotListenReason: object
    }
    freeTimeTrialPrivilege: {
        resConsumable: boolean
        userConsumable: boolean
        type: number
        remainTime: number
    }
    urlSource: number
    rightSource: number
    podcastCtrp: object
    effectTypes: object
    time: number

    constructor() {
    }
}

export class lrc {
    version: number
    lyric: string

    constructor() {
    }
}

export class Lyric {
    lrc: lrc
    constructor() {
    }
}

export class LyricModel {
    sgc: boolean
    sfy: boolean
    qfy: boolean
    lrcArray:Lyric[]
    klyric: {
        version: number
        lyric: string
    }
    tlyric: {
        version: number
        lyric: string
    }
    romalrc: {
        version: number
        lyric: string
    }
    code: number
}